package com.moyu.myadmin.dao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.moyu.myadmin.dao.entity.EmpLeaveEntity;
import com.moyu.myadmin.model.dto.EmpLeaveDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 员工请假
 *
 * @email jiaomingyu5778@gmail.com
 * @date 2022-02-25 15:09:13
 */
@Mapper
public interface EmpLeaveMapper extends BaseMapper<EmpLeaveEntity> {

    /**
     * 分页查询
     * @param page 分页参数
     * @param data 查询参数
     * @return 结果集
     */
    Page<EmpLeaveEntity> queryListPage(Page<EmpLeaveEntity> page, EmpLeaveDTO data);
}
